package com.me.bbs.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.me.bbs.entity.LatestReadAt;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lm
 * @since 2023-01-24
 */
public interface LatestReadAtMapper extends BaseMapper<LatestReadAt> {

    Long queryUnreadZanCount(@Param("map") Map<String, Object> argsMap);

    Page<Map<String, Object>> queryUnreadZanMsg(IPage page,@Param("map") Map<String, Object> argsMap);
}
